<script setup lang="ts">
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>

<template>
  <div id="basic-layout">
    <a-layout style="height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader></GlobalHeader>
      </a-layout-header>
      <a-layout-content class="content">
        <router-view></router-view>
      </a-layout-content>
      <a-layout-footer class="footer">
        <a
          href="https://www.baidu.com/"
          target="_blank"
          style="text-decoration: none"
        >
          刘炳楠少爷 【著】
        </a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<style scoped>
#basic-layout {
}

#basic-layout .content {
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(to right, #fefefe, #fff);
  margin: 0 auto 28px;
  padding: 20px;
}

#basicLayout. header {
  margin-bottom: 16px;
  box-shadow: #eee 1px 1px 5px;
}

.footer {
  background: #efefef;
  padding: 8px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
</style>
